let abiMortgagePool = [
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "factoryAddress",
					"type": "address"
				}
			],
			"stateMutability": "nonpayable",
			"type": "constructor"
		},
		{
			"anonymous": false,
			"inputs": [
				{
					"indexed": false,
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"indexed": false,
					"internalType": "uint256",
					"name": "value",
					"type": "uint256"
				}
			],
			"name": "FeeValue",
			"type": "event"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "rate",
					"type": "uint256"
				}
			],
			"name": "coin",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				}
			],
			"name": "decrease",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "flag",
			"outputs": [
				{
					"internalType": "uint8",
					"name": "",
					"type": "uint8"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "inputToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "inputTokenAmount",
					"type": "uint256"
				},
				{
					"internalType": "address",
					"name": "outputToken",
					"type": "address"
				}
			],
			"name": "getDecimalConversion",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "uint256",
					"name": "parassetAssets",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "blockHeight",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "rate",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "nowRate",
					"type": "uint256"
				}
			],
			"name": "getFee",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "getGovernance",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "tokenPrice",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "uTokenPrice",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "maxRateNum",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "owner",
					"type": "uint256"
				}
			],
			"name": "getInfoRealTime",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "fee",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "mortgageRate",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "maxSubM",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "maxAddP",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "getInsurancePool",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "owner",
					"type": "address"
				}
			],
			"name": "getLedger",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "mortgageAssets",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "parassetAssets",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "blockHeight",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "rate",
					"type": "uint256"
				},
				{
					"internalType": "bool",
					"name": "created",
					"type": "bool"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "index",
					"type": "uint256"
				}
			],
			"name": "getLedgerAddress",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				}
			],
			"name": "getLedgerArrayNum",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				}
			],
			"name": "getLiquidationLine",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				}
			],
			"name": "getMaxRate",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "uint256",
					"name": "mortgageAssets",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "parassetAssets",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "tokenPrice",
					"type": "uint256"
				},
				{
					"internalType": "uint256",
					"name": "pTokenPrice",
					"type": "uint256"
				}
			],
			"name": "getMortgageRate",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "pure",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "getOneYear",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				}
			],
			"name": "getPTokenToUnderlying",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "getPriceController",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "getR0",
			"outputs": [
				{
					"internalType": "uint256",
					"name": "",
					"type": "uint256"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "uToken",
					"type": "address"
				}
			],
			"name": "getUnderlyingToPToken",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "governance",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				}
			],
			"name": "increaseCoinage",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "account",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				}
			],
			"name": "liquidation",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"name": "pTokenToUnderlying",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				}
			],
			"name": "reducedCoinage",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "uint8",
					"name": "num",
					"type": "uint8"
				}
			],
			"name": "setFlag",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [],
			"name": "setGovernance",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "uToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				}
			],
			"name": "setInfo",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "add",
					"type": "address"
				}
			],
			"name": "setInsurancePool",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "num",
					"type": "uint256"
				}
			],
			"name": "setLiquidationLine",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "num",
					"type": "uint256"
				}
			],
			"name": "setMaxRate",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "bool",
					"name": "allow",
					"type": "bool"
				}
			],
			"name": "setMortgageAllow",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "uint256",
					"name": "num",
					"type": "uint256"
				}
			],
			"name": "setOneYear",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "add",
					"type": "address"
				}
			],
			"name": "setPriceController",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "uint256",
					"name": "num",
					"type": "uint256"
				}
			],
			"name": "setR0",
			"outputs": [],
			"stateMutability": "nonpayable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "mortgageToken",
					"type": "address"
				},
				{
					"internalType": "address",
					"name": "pToken",
					"type": "address"
				},
				{
					"internalType": "uint256",
					"name": "amount",
					"type": "uint256"
				}
			],
			"name": "supplement",
			"outputs": [],
			"stateMutability": "payable",
			"type": "function"
		},
		{
			"inputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"name": "underlyingToPToken",
			"outputs": [
				{
					"internalType": "address",
					"name": "",
					"type": "address"
				}
			],
			"stateMutability": "view",
			"type": "function"
		}
	]


module.exports = abiMortgagePool
